package cn.iocoder.yudao.module.system.util.neo4j.neo4jCeshi;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Relationship;

import java.util.List;

@Node("Assets")
@Data
@NoArgsConstructor
public class AssetsEntity {

    @Id
    private String id;

    private String name;

    private String local;

    private String source;

    private String type;

    private String version;

    @Relationship(type = "存在漏洞", direction = Relationship.Direction.OUTGOING)
    private List<VulEntity> vulEntityList;

}
